home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
BIOLOGY
/
HRAP.ZIP
/
BATCH.DOC
< prev
next >
Wrap
Text File
|
1983-07-29
|
6KB
|
128 lines
BATCH MODE FOR IBM/PC VERSION OF THE CDC-HRA
Thσáá followinτá documentatioεá i≤á intendeΣá t∩á supplemen⌠á thσ ì
origina∞ documentatioε supplieΣ witΦ thσ IBM/P├ program≤á writteε ì
b∙ Ardeε L«á Ashton¼ Jr.¼ M.D« anΣ AdvanceΣ Medica∞ System≤ Corp« ì
Therσá arσ ß fe≈ trick≤ tha⌠ wσ havσ learneΣ iε dealinτ witΦá thσ ì
BatcΦá Entr∙á modσá tha⌠ shoulΣ assis⌠ yo⌡ anΣ preven⌠á yo⌡á froφ ì
perhaps making some of the same mistakes we did.
Iεá orde≥ t∩ utilizσ thσ BatcΦ Mode (assuminτ yo⌡ havσá alread∙ ì
me⌠áá thσá hardwarσá requirement≤á oµá min«áá 128╦áá anΣáá doublσ ì
density/doublσá sideΣ disδ drives⌐ yo⌡ mus⌠ firs⌠ makσ surσá tha⌠ ì
al∞á thσá maiεá prograφá file≤ anΣ thσ datß table≤á fo≥á thσá HR┴ ì
prograφá mus⌠ al∞ bσ oε thσ samσ diskette«á Als∩ thσ firs⌠á ste≡ ì
oncσ yo⌡ determinσ thσ neeΣ t∩ ruε thσ batcΦ modσ i≤ t∩ makσ surσ ì
tha⌠á ß tex⌠ edito≥ calleΣ EDLIN.COM i≤ oε you≥á diskette«á Iµ ì
not¼á i⌠ shoulΣ bσ eas∙ t∩ locatσ thσ filσ oε ß DO╙ diskettσá anΣ ì
copy.
INSTRUCTIONS:
1) At the prompt A> type in the following:
A>EDLIN HDATA
2⌐á Iµ thσ HDAT┴ filσ i≤ no⌠ alread∙ iε existence¼á thi≤á firs⌠ ì
step will also create if for you.
3) You should now see an editor prompt of " * "
a⌐ Iµ yo⌡ alread∙ haΣ thσ filσ oε disk¼á chance≤ arσá therσ ì
shoulΣ bσ aε examplσ datß strinτ fo≥ yo⌡ t∩ usσ a≤ ß model.
b⌐á Typσ ó ▒ ó whicΦ wil∞ le⌠ yo⌡ kno≈ iµ therσ i≤ ßá datß ì
examplσá oε thσ file«á Thi≤ wil∞ actuall∙ reques⌠ datß ì
linσ #▒ oµ thσ file«
Following is what the string should look like:
*1. EXAMPLE,ONE,J,111111111111,1,1,55,5,7,222,3,0,0,0,0,2,0,0,0,
3,22000,99,2,3,2,3,2,2,2,2,123,77,211,1,1,1,2,3,3,3,0,0,0,0,0,2,2
,3,1,1,COL,OH
Note║á Iµ yo⌡ d∩ no⌠ havσ thσ examplσ oε you≥ disk¼á yo⌡ ma∙á usσ ì
this hard copy for your model.
5⌐á A⌠ thi≤ poin⌠ yo⌡ arσ read∙ t∩ ente≥ data«á Simplσ typσá iε ì
"2I" and you will get the following prompt:
*2.
6⌐á Iµ therσ wa≤ n∩ examplσ filσ oε thσ disk¼á yo⌡ wil∞ havσ t∩ ì
type in "1I" and would get the following prompt:
*1.è7⌐ Typσ iε you≥ datß strinτ usinτ eithe≥ thσ screeεá mode∞á o≥ ì
harΣá cop∙á mode∞á a≤á you≥á format«á Typσá thσá strinτá iε ì
continuousl∙á usinτá n∩á space≤á anΣá separatinτá eacΦá datß ì
elemen⌠á witΦ comma≤ a≤ shown«á Pres≤ thσ <RETURN╛ ke∙ onl∙ ì
afte≥á yo⌡á completσá onσ datßá string«á Thσá machinσá wil∞ ì
automaticall∙ se⌠ yo⌡ u≡ t∩ ente≥ thσ nex⌠ datß string.
8⌐á Wheεá yo⌡ havσ finisheΣ enterinτ al∞ thσ datßá string≤á anΣ ì
wisΦá t∩á savσá wha⌠ yo⌡ havσá entered¼á usσá thσá followinτ ì
procedure:
a⌐ Pres≤ thσ <CTRL╛ anΣ <BREAK╛ key≤ simultaneously«á Yo⌡ ì
wil∞á seσá thσá óá *é ó promp⌠ appea≥ oεá thσá fa≥á lef⌠ ì
margin.
b⌐á Yo⌡á shoulΣ probabl∙ deletσ thσ firs⌠ examplσ filσá s∩ ì
that it does not actually print.
T∩á deletσá thσ firs⌠ recorΣ typσ iεá "1D"«á Wha⌠á yo⌡ ì
begaεá typinτá iεá a≤ recorΣ #▓ wil∞ no≈ shif⌠á u≡á anΣ ì
becomσ recorΣ #1.
c⌐á Iε orde≥ t∩ savσ wha⌠ yo⌡ havσ typed¼á typσ iεá "Eóá - ì
this will exit to DOS and save.
HOW TO PRINT THE REPORTS FROM DATA NOW IN STORAGE:
1⌐ I⌠ i≤ ver∙ eas∙ t∩ prin⌠ thσ HealtΦ Risδ Appraisal≤ no≈ ì
tha⌠ yo⌡ havσ createΣ yo⌡ data« Beforσ yo⌡ start¼ makσ ì
surσ tha⌠ you≥ printe≥ i≤ connecteΣ anΣ on-linσá - tha⌠ ì
yo⌡á als∩á havσá enougΦ pape≥ installeΣ t∩á handlσá thσ ì
volumσ oµ datß you'vσ entered.
2) At the A> type in "HRA1".
3⌐á Iµ therσ arσ an∙ problem≤ witΦ thσ datßá strings¼á thσ ì
prin⌠ ma∙ abort«á Or¼ iµ yo⌡ havσ accidentall∙ typeΣ iε ì
aε unreasonablσ numbe≥ fo≥ onσ oµ thσ datß elements¼ i⌠ ì
ma∙á prin⌠á ou⌠á ßá linσ that¼á i.e«á ó X╪á i≤á no⌠á aε ì
acceptablσá valuσá fo≥á agσ "«á Unde≥á certaiεá circumì
stances¼á onσ casσ ma∙ bσ skippeΣ anΣ thσ compute≥ wil∞ ì
analyzσ anΣ prin⌠ thσ nex⌠ case« However¼ iε man∙ case≤ ì
nothinτ wil∞ happen« D╧ NO╘ GE╘ DISCOURAGED!!
4) Yo⌡ wil∞ havσ t∩ g∩ bacδ t∩ "EDLI╬ HDATAó anΣ seeδá ou⌠ ì
you≥á error«á ╔ sugges⌠ tha⌠ yo⌡ obtaiε ß cop∙ oµá thσ ì
EDLI╬á Documentatioε froφ thσ IB═ DO╙ Manual«á Iε man∙ ì
case≤ ╔ havσ founΣ i⌠ i≤ ß misplaceΣ commß o≥ ßá perioΣ ì
inserteΣá insteaΣ oµ ß comma«á Makσ surσ therσ arσá n∩ ì
blanδ spaces«á Oncσ yo⌡ finΣ you≥ error¼á yo⌡ wil∞á bσ ì
ablσá t∩ usσ thσ Functioε key≤ describeΣ iεá thσá Edliε ì
Documentatioε t∩ correc⌠ you≥ errors«á Thi≤ i≤á fairl∙ ì
simple«á Oncσá yo⌡á d∩ thi≤ thσ firs⌠ time¼á yo⌡á wil∞ ì
becomσáá awarσáá oµáá wha⌠á t∩á looδáá fo≥áá anΣáá finΣ ì
troubleshootinτ mucΦ easie≥ iε thσ future.è
5) á Thi≤á supplementar∙ documentatioε wa≤á prepareΣ ì
for you by:
Deborah Saheli
OSU Health Optimization Program
Department of Preventive Medicine
A-450 Starling Loving Hall
320 West Tenth Avenue
Columbus, Ohio 43210
614-421-3998 or 614-421-5439
6⌐á Fo≥á technica∞ assistancσ o≥ question≤ concerninτá thσ ì
abovσá o≥ an∙ phasσ oµ operatinτ thσ IBM/P├ versioεá oµ ì
thσá CDC-HRA¼á yo⌡ ma∙ contac⌠ eithe≥ Debbiσ SahelΘá o≥ ì
Gordoε Blacδ a⌠ thσ number≤ indicateΣ above.